import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'vant/es/notify/style'
import 'vant/es/toast/style'
import 'vant/lib/index.css'

// import VConsole from 'vconsole';
// let vconsole = new VConsole();
// 引入全局样式
import '@/styles/globalStyle.scss'
// 跳转后返回顶部
router.afterEach((to,from,next) => {
    window.scrollTo(0,0);
})

createApp(App).use(store).use(router).mount('#app')
// export default vconsole;
